added static keyword to fix activation deactivation of an addon