load config earlier