made the db file configurable