changed redirect.php