fix download script