completed dump.sh script and amended cleanup.sh