local mode passed through commandline