moved cgi to dynamic