changed bin/td-bulk-import -- refactoring