Added false/empty to remove attributes
Sorted attributes on load
mend
Added name attribute to fields