made repl optional in cli