Change output to overwrite instead of concatenate.