updated shebang line and fixed a typo

updated shebang line to use env binary to be compatible with a larger variety of unix derivates like Solaris whereas /usr/bin/env searches for "sh" in the users PATH var.
also fixed a typo