add cb for restart, command add-ons for repl