set exit codes on fails