Cleaning up to get it to run with HipChat.