process data script