fixed final bug in running the command line; added scripts