changes to the script