adding markov script