Updated check script to ensure /data/db is correctly created.