fixes for setting up data files