update to dump output to text