updated the script.