local broker

fix local broker default and create a demo script