makes hooks executable