moved config out