add repl loop
set repl to true in config