Added MySQL hook