Fixed global.php to get resources on all platforms