Adding code that writes out the attributes after the system table row data