Fixed so that specifying a different broker than localhost works.