removed calls to old cgi