export lua sciprt is compiled to bytecode now
remove some unused code