add hook for stackexchange activities