added interactive_key to be able to press keys in an application