fix issue 5 : improve argument parsing
Merge pull request #6 from NYULibraries/issue-5

fix issue 5 : improve argument parsing