added Zg FSR selection and option to switch template/sideband variables