update extract.sh