VB Api/hook improvements