simplified cgi frontend