Added --limit option
Reworked -q flag