More proper support for lua