Add hooks

Added activate/deactivate hooks