updates to analysis script for SF vs. IDR