You're overwriting the PATH environment variable in your script. This is used to determine where executables are located (see https://en.wikipedia.org/wiki/PATH_(variable)).
Short answer is to use a different name for PATH in your script and use absolute paths for commands in your script.