added sleep 2 in script.sh