switch for verbose output and function for sending mail on updates added