adding centos.repo and minor adjustments to scripts