Hi brent01,
Did the script work when you tried:
sh <script>
The error you mentioned ("bash: restart: command not found' or 'restart: not found") indicates a script called 'restart' cannot be found (I don't think it is a built-in command in BASH). As has already been suggested, check you PATH variable or use the full path when calling it.
As an aside, to help troubleshoot a script and pin-point the line that causes a problem, try:
sh -x <script>
I hope that helps.
Mike