Add ping and append command in client