added support for creating/updating config files