Modifying scripts for current uses