Add BASEDIR, remove extract.sh