changes to index.php and generateSchedule.php

Start/end dates of doctors are working
requests on/off are working