Modified the export to save to a more proper location and log its activity.