Adding attachments to pdf export