foreach macros add. BuildingData loading fix.