Changed to only copy required files.