improved the resetRebootSettings.php script with if isset