Added debug print of environment variables