load the correct config file