Initial version of downloader script