added markov to external scripts