I tried and i doesnt work. I copied the script to the scripts directory. Then i wrote those commands in the schipt editor and it says Syntax error