fix missing require function.
expose repl version.