LPS-12345 Write out what has to be written out