Create the new hash for ns attributes and use it

All the ns based attributes are broken for now