Changes how program is written to text file.