Fix logging - don't copy the wrong files