T1_CH_CERN to T2_CH_CERN

I only changed this line.
if sitename == 'T1_CH_CERN': sitename = 'T2_CH_CERN'
it could corresponded with your modifications.