Fix hooks... we have different hooks pre 1.9.5, 1.9.5-1.9.8, and 2.0+