Some script to be used for Mr. Bayes on cluster