adding socketcheck.sh