fix argument check and improve readme
0.1.2
Automatically rewritten for npm.