Improve error recovery. Add missing parameters to the OKS configuration.