creating lua setup