Changed to use same syntax as ajax/download.php