Adding the quit sequence to the script.