Added run_comm_switch_with_arg() function.