Clean up HTML and hook up to save (if on NPS network)