tweak the regen code to allow for the multi format loop
 loop over all the static formats and remove them