Primaries not being randomized

How do you set the primaries to be randomized? I set the random engine to the CLHEP::MixMaxRng, but when I do a run I get the same sequence of primaries and outputs all with the same properties. This only happens when I run in batch mode. If I run with visualization, I get random properties as expected. Any ideas what could be causing this?

Do you set the seed?