adding an example that uses quick scripts for resampling