add test of failure condition in Modhex.
rework build-homepage script to work with central repo.