finished the script