fixed bug and made some things command-line utilites
Merge pull request #2 from Slater-Victoroff/slater/bugfix

fixed bug and made some things command-line utilites