( 42 U.S.C. 5184 ), a territory or possession, and instrumentalities and local governments thereof, of the United States shall be deemed to be a local government for purposes of this paragraph: Provided further , That notwithstanding section 417(b) of the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5184(b) ), the amount of any such loan issued to a territory or possession, and instrumentalities and local governments thereof, may be based on the projected loss of tax and other revenues and on projected cash outlays not previously budgeted for a period not to exceed 180 days from the date of the major disaster, and may exceed $5,000,000: Provided further , That notwithstanding any other provision of law or the constitution of a territory or possession that limits the issuance of debt, a territory or possession, and instrumentalities and local governments thereof, may each receive more than one loan with repayment provisions and other terms specific to the type of lost tax and other revenues and on projected unbudgeted cash outlays for which the loan is provided: Provided further , That notwithstanding section 417(c)(1) of the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5184(c)(1) ), loans to a territory or possession, and instrumentalities and local governments thereof, may be cancelled in whole or in part only at the discretion of the Secretary of Homeland Security in consultation with the Secretary of the Treasury: Provided further , That notwithstanding any other provision of law, the Secretary of Homeland Security, in consultation with the Secretary of the Treasury, shall determine the terms, conditions, eligible uses, and timing and amount of Federal disbursements of loans issued to a territory or possession, and instrumentalities and local governments thereof: Provided further , That such costs, including the cost of modifying such loans, shall be as defined in section 502 of the Congressional Budget Act of 1974 ( 2 U.S.C. 661a ): Provided