Add command record