changing install hook