Replaced user keyboard input with hardcoded sequences.