add remote and realtime mode selection