Fixed environment variable access.