added support for multiple configs