updating generation script and tweaking html references