Script added for removing duplicate entires in databases