changed download.php