How to add attachments with Hex data