changes for pyret repl