added support for setting priority of config files