called a lua script in keyboard input and it works