Adjusting hook to work on all tabs.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>