cleaning up the run script, and making it run directly