add REPL command support