Updated and added pid and xsec branches to slimming script