organized .hst creation in main().