new check_emc script