check verbose flag to output messages