Made startdb.py actually work for a blank db