changes to script