Added environment variables to publish profiles.