Updated layout.php to work with Azure 3.