add uniform random id sampling script