When does the lookup plug-in run to populate custom attributes?