Added ability to reindex dataset