Fixing REPL and changing the event for increase_line