turn the repl on and of