Modified MC analysis script to be consistent with fnames