corrected minor error in the script