exporter cgi scripts fix