You have to set permissions on it - the script - probably 755. You can do this thru cpanel/file manager. If after doing that the script doesn't run, check the perms on the cgi-bin itself. Those should be correct tho.
---edit----
Did you edit the file in anything other than notepad? Like...