undoing previous commit, should do a pull request

also, there was a typo in the shell code.