moved config up