Save obs structure earlier to aid debugging