added ability to add binary attachments to post