Improved Settings.php