modification in download.php