Script to extract the completion table