profile activation based on environment variables