A nicer way of cleaning up databases for the shell script ex17_06.sh