It's better to use service blocks instead. Service block can call any user's created code.
I will check it Alex thank you.