fixing environments passed to CGI script

fixing some elements provided as environment on invocating CGI script