changed the date format in export_script