Minor change, replace output.return_code == 0 by output.succeeded