Corrected bad order of config load.