Added hook disable function