new features, pass stdin in raise_on_fail