Add support for gw_kbpolicy in GW scripts