8.0 afr migration hbto

Minimum steps required to make module work in v8