some more command line parameters and better output