script to batch merge variations in the NameDB