Updated layout.php to work with Azure 2.