create the hooks directory if it doesnt exist