Added Autojoin and select join channel, and start of queries