updated clean data script