Replace enable with onEnable
Fix call to accept arguments
Add callFromConfiguration method to call a method from configuration