settings now creates and saves the db file