Fixing using ash and zsh shells

Fixed some code that was not properly passing usable argv value. Fixes #10