Added environment variables to CGI requests