Extensions of Alex's Hgg Code for use with Razor Diphotons