Cleaned up dcpromo-rep.sh