Add chat code for readychat