adding cgi