Add execute function to give the ability to run scripts in other directories

As the second part of the roadmap, we have had to add an execute function so that Bob can sit in the middle of other things such as NPM.

Please can @david-hersey @nickine @kevinhodges have a look at this and see what you think.