Package commit hook with code