added a script for removing duplicate data