added logic to take care of sat/sun t/w transition scheduling