move adc_download to inside script