runmode only from commandline