build_hclg separated to scripts [working]