Bug fixes in multicast script.