- added switch to return nagios compatible output
- added exitcodes - 0 ok; 2 error