added replicates and seed option to runPertWC