add copy config condition