Added exit status stuff.