Attachment fix

Fixed so attachments acually work