automatic detection/loading of samples when restoring distribution