updated the script file