Removed rogue sys.exit statement and added script to plot priors