Change load order slightly to allow setting ENVs in config file