Maybe your shell script is using files whose path is not included in the path environment variable. To do so, you have to write
export PATH=$PATH:<new dirctory>
For example, my script uses files in the directory /tmp. Then in the first line of the script, I would write:
export PATH=$PATH:/tmp/
without '<' and '>' as the first line of your script!