Added support for running lua scripts