Removed the path to the executable from the help message.
Rewrote the initial check in a bourne shell compatible way.