#77 added command line options