csv export preparing