Adding Readline support