fixing post install hook