merge cgi