Changed order of precendence for configuration files