modified exporter to show time and header in csv