load correct config