Fix install hook