Write out notifications