Added bade template and channel handling