Due to refactoring there has been a number of changes to our internal evaluation API, so you'll need to change a few names. Sorry I forgot to mention that when I asked you to resubmit it. Of the ones I can see are:

<pre>
NewScalar("sys", name, hw_mac, cf_str);  --> EvalContextVariablePutSpecial(ctx, SPECIAL_SCOPE_SYS, name, hw_mac, DATA_TYPE_STRING);
AppendRlist(hardware, hw_mac, CF_SCALAR) --> AppendRlist(hardware, hw_mac, RVAL_TYPE_SCALAR);
NewClass(name)                           --> EvalContextClassPutHard(ctx, name);
</pre>