A stochastic time scale based framework for system reliability under a Markovian dynamic environment. (12th January 2023)