Add support for reading config