check_apc_temp Plugin

I am working with the check_apc_temp plugin and it works great for the most part except the status color does not change. The status information shows CRITICAL: 71 degrees F, but the status does not change from OK (Green) to Critical (Red) or Warning (Yellow). Because of this, Nagios will not generate an email or notification response. Does anyone have any idea on what I need to do to correct this problem. For the most part, it works well and I would like to monitor temperature in the server room. The plugin is attached. I want to thank you all in advance, your help is appreciated.

Thank you,