Got basic lua scripting working