improve import scripts