switch dispatch command when running on cui and gui