Attempt at adding management hooks in for weechat - not working yet though