Added enable hook