Add output when writing