Fixed script syntax problem