Fix hook install not working