Upload attachments working properly now