Added a fallback mode, incase users run into issues while using repl.