I want to instantiate a class (that inherates BehaviorScript) on my extension.py

I want to instantiate a class (that inherates BehaviorScript) on my extension.py
However on_update and other func do not run, with exception of on_init