Updated layout.php to work with Azure 6