portable paths:

This allows the scripts to be run on freebsd - and maintains
compatibility with most linux distros.
Merge pull request #7 from pokui/master

portable paths: This allows the scripts to be run on freebsd - and maintains
compatibility with most linux distros.