adding extractspec.sh