Added isRawMessage and makeMessage replace colors