modify rep directories