Added site root checking