updated day of the week switch.php file