bulk: use command array to track commands as they are added.