I dont think we will be able to get global keyboard events, so I modified the python script to wait for 20 key presses