now supporting redirect in CGI scripts