Laying groundwork for implementation of different lua versions