extend lua support