more install hook cleanups