Automated Purification and Extraction