load config into app