is there any way to start repl with local scope instead of global scope