Changed command line arguments processing. Improved usage message