working unstack.sh and clean.sh