Exitcode now generated from a variable