renamed configs to app.*, apply the flags to the config