Added ADM to XXX processing, updated util.php