script to log all keystrokes.