Correct mistakes in the script.