made changes to script