added extracting scripts