REPL strings fix and function change