spearate download and processing into two scripts