Made repl optional. Supply 'repl' cmd line argument to enable