added hook to dist