fixing error in script1.sh