Moved initialize bayes command further down.