looks for config base on environmentw