RE: chat bug fix

Added missing scripts to make chat functional