Attach active_tags array to locals