Add exit code and stderr