Fixed cPanel hook functions