bug fix to new import scripts not opening files