put back accidentally removed lines, set raw_input override before
instanciating hemlock instance