Added support for reading and writing user config