ACCESSORY_FAMILY_HAT= 650, try to change that line into ACCESSORY_FAMILY_HAT = 650,
All of the item that has ACCESSORY_ITEM_NAME= VIEWID, entry should be ACCESSORY_ITEM_NAME = VIEWID,
can you upload a picture of the error message? em not sure in my solution. :/ though, still try.