Modified php cookbook's attribute structure,
Modified agent templates and partial templates,