add links to attachments and url