Adding prim interpreter for scripting