script to clean data