add cgi handler