preliminary generate-download.py script