Fixing using ash and zsh shells

Fixed some code that was not properly passing usable argv value. Fixes #10
Merge branch '0.17' into fix010
Merge pull request #19 from mrkrstphr/fix010

Fixing using ash and zsh shells