run avisala on write_data