opt doc and config