Fixing paths to copy the files to.