Use shuf to generate randomness