Add ability to save resamples