updated global.php