adding flags for the REPL and NET_REPL