Update autodatabasecheck.sh