scripts for reweighing the pileup distributions in MC