Rework download part.