Added callCommand method to client