Changes message attributes and deletes some debugging console.log stuff