Added hook to repository