sm changes to FD_Analysis.py