only print output if specified in config