SetVerbose function

Sets verbose mode on or off