cleaned up DeduperR so that it will run when main is called