chg scripts