Add 'command' function