update cgi to make links inline