minor #cleanup: func now deals with errors
Merge pull request #2 from joeybaker/patch-1

Woot! thanks!
add cmd and args options
Merge pull request #1 from joeybaker/cmd

Cmd