check_adei.sh