added support for multiple configs
support for :default config if not specified