Updated layout.php to work with Azure 5