use scripts to build public.html