Adding --multi-dataset flag to generate multi-datasets from lists of datasets