Added cmd line parsing for ut-join-leave