Added back accidentally removed repl code