updated script.sh