adding option to disable multicast

changes to template to allow previous commit to work