adding repository Hook enable/disable functionalities