Added command line argument for channel joining
Pulled from main