Fixed bugs. MSR now works with both 'ALL' and 'FLAGS' format