add script to download pdf file