record v1 setup exit code