hscript: generate the wscript from hbuild.yml on the fly