Fixed hook permissions