script to download ebooks