adding hooks directory