code for individualized alerts and html edits to provide alert content