Changes to script