Update generate.cfm