Modified location.php