CentOS 6.5 mirror.sh refactoring