modified newScript.sh