combined extract-one.sh