updated script.