- added the base config options
- split out the method for writing