added hooks.php