adds attachments to submissions