Now writes MD5 hash for each message