Changed .tmp output file to reduce nonsense key commands sent to terminal.