small change on genSamples script