when you change the script to .groovy, it still stays at .groovy.txt.... meaning once you save as into the scripts area, you must than go back into the scripts and right click the new script you just added and click rename, when you rename it again, delete the .txt at the end of the .groovy.txt, so your final thing should say (scriptname).groovy