updated with gen-pop.html  page functionality