Fixed bash scripts for more compatibility
Merge pull request #66 from mid-kid/master

Fixed bash scripts for more compatibility