added support for hostmanager