Small changes to automatebeta_sfm.py to more closely mirror a clean automatebeta.py