renamed get_import to safe_import