Patch up CGI script.