started adding redownload logic.