Your question is a little confusing because of the kgp stuff. What is the first line of your script? I don't know anything about kgp but scripts usually start by telling the shell where to find the interpreter. e.g. #!/bin/csh
csh is normally in /bin and it's very strange if that isn't already in your path. What does "echo $PATH" give you? If it really isn't there, setting it depends on which shell you are using.
In csh add the following line to .cshrc
setenv PATH = "$PATH:/bin"
For tcsh do the above and also add the following line to .tcshrc
In bash, edit .profile by adding
I don't know how to set it for ksh, but google should be able to tell you.