update corrected copy, uncommented file write