save dataset_ids and dataset, and generate app from that.