cleaned up the scripts