added exit status constants
updated comments