modify addDataset.php to work with cloneDataset