Updating script to copy artifact to output dir