Running external scripts in truffle's context