Messages are now saved and output is the same as input