Change the connect- trigger to onMotd as onConnect was triggering too early