added logging of commandline options