Updated main for paths
Updated PMF.Adjust() and Main for paths