If you're struggling to make your monthly mortgage payment, Fannie Mae and Freddie Mac have a new loan modification program so your home stays out of foreclosure – and you stay put. The program, called Flex Modification, goes into effect Oct. 1, 2017.