added CRITICAL to the log and exit function for the benifit of the nagios script