adding support for setting the variables and roles on
both active and passive hub