Polished download mirror code
Merge pull request #671 from Viper-7/master

Polished download mirror code