Add attachments to resources dictionary