Support CFHT in prepareDb.py