Let the cid replacement to happen right before the output
Documentation