Add a line to flush cache before downloading