updated handling of config module