Fixes for being able to import modules for external scripts.

 - Added current working directory to the path
 - Reinstated sys.argv so that the external script will correctly parse the
   correct arguments