Cleaning up the scripts