the basic script engine is written, but not yet tested.