Exit status handling has to be hard coded to a number, can't seem to get a variable to work