Fix IndexError error when no args are provided
Merge pull request #13 from affinitic/master

Fix IndexError error when no args are provided