Added attachments to opts