updated downloads.php to use is_null instead of isset