changed the commandline parsing mechanism of the main grabber