extracting private information (and environment specific data) to an environment file