Add back the copyArtifacts snipett