make shell commands valid
Merge pull request #45 from joshuarh/valid-shell-commands

make shell commands valid