added --verbose command line arg to enable stdout logging