In July 2007 , Lesotho signed a Millennium Challenge Account Compact with the US worth $ 362.5 million .