Add crc and header