fixed problems with data import scripts