Minor changes to utilities.py and BDdb.py