Fixed hook installation.