Added the ability to loop channels.