Finished up the script