cleaning up the scripts