Hennigan grateful for chance to coach Pirates