WMass updates and backports of remote output writing

recoil changes + output remote writing at CERN (backported + added  CERN option)