Extraction scripts