modified not to use automain, and tweeter.init() is added.