Enhance pdf_download.sh