add lib/v3.d/hooks.sh.