optionally using environment variable for edx-platform hash