Script to cleanup curate's history