command code macro