fixed argument parsing in bayes.py