delete old unneccesary stuff from the script