Added attributes to itemFactories
Attributes are now set on items created by factory