Move stty command to onyl run for interactive sessions.