fixed downloader script