log csv and import script