removing hooks directory