load config first.