merging config into app file