I got this code to work on m33 but I was wondering if someone can change the hook? So it can work with Gen-D3?

Thanks