Added check for missing account in custom import scripts