Saving messages on Instance Exit