integrated new client command code