Switched to c++ and lua