updated script example