Fixed a config issue which wasn't correctly overwriting config data from different env conf files.