changed script syntax