Fixed error on the script.