generate .lua files