Started work on lua scripting