add bash script extract.sh