added pystan switch and logic.  also added loading of model after saving