clean stuff up and edit scripts