Added checkdb.py