Added support for passing attributes
added printing of attribute in service command
added back host and interface flags
added support for attributes in register command