Updated CGI scripts