Writing env files out and bundle config.