Replaced try expcept in scheduler with if statements for Dr. Shade