client mode fully working, with or without --run