Added exit codes for proper nagios integration.