added fail job and job status stuff i think