update tool/hub_ctrl.py from Gnuk