added autojoin module and a changed few other things