added display of exit status