Added random-sample script.