Attachment handling sorta working