updating extraction scripts