Polished download mirror code