added logging of command line