fixed resetdb.py to work with seans os