sampling: move scripts on sampling to a common directory