Times and days conditions

Did it.
Bug correction for scenario.enable