command line arguments added, logging broken