updated the script to be executed