update repository directory in local copy scripts