Be attributes are now being picked up, but I'm not sure where they need to be written to the file