update example script with new response layout