> As a compromise, how about setting PATH at the beginning of the script? This is not a compromise, it is the correct and complete solution. Don't forget to do "export PATH".