I altered the above script to the following:
*Id("HyperStudy v12.0")
*BeginDefaults()
*BeginGraphicDefaults()
*RegisterResultMathPlugin(Brittle_Calcs, "Brittle failure theory", HYPERMATH, "<your_location>/HyperMath_Brittle.hml", SCALAR, ELEM, "", "Hml_BrittleMatFailureTheory", "")...