Modifying scripts