Oh, nice. I didn't know that was possible. Note that the name of the script should be outside the quotes (as a 3rd parameter to gksudo).