SECTION 99.
Notwithstanding any general or special law to the contrary, prior to transferring the consolidated net surplus in the budgetary funds to the Commonwealth Stabilization Fund pursuant to section 5C of chapter 29 of the General Laws, the comptroller shall dispose of the consolidated net surplus in the budgetary funds for fiscal year 2018 as follows: $10,000,000 to the Massachusetts Community Preservation Trust Fund established in section 9 of chapter 44B of the General Laws; provided however if less than $10,000,000 is available in the surplus in the budgetary funds the comptroller shall transfer the entire amount of the surplus.