Switch to readline sync