Add app and env to config.