Corrected error in the script.