Move alert page generation as a separate plugin alerts.rb