added hook for install previous deps