expose engine to scripts