Update checkconnection.sh