Pseudorandom generator script