Updated global.php