updated changes to script