added modifications for VERBOSE mode on/off