Making sure everything is up to date
Changed rereferencedChannels to channelsToBeRereferenced