Fix download script