It's not necessary to do these before doing The Big Dig. But for storytelling purposes, I find it better to do them while Hancock is just the mayor and not an available companion.