Fix bug in standalone mode that prevented data files being found and loaded.