updated a script test keyinput