make shell scripts more portable
Merge pull request #4 from g2jaffee/master

make shell scripts more portable