added support for new style config