corrected bug in logging
first itteration following changes to the command line