yes, if you have ENV vars they generally over-ride the cfg file - personally, I'd rather ditch ENV vars entirely, and use only cmd params and a cfg file though

(ENV vars are like hidden holes in the ground, sometimes filled with poisoned stakes)