Notwithstanding the provisions of chapter 106, or any municipal charter or special act to the contrary, whenever any student, or the parent or guardian of any student, pays for lost, damaged or stolen textbooks, library materials, other materials or equipment, or whenever insurance proceeds are received for lost, damaged or stolen textbooks, library materials, other materials or equipment, an amount equal to the amount so paid or received, net of any costs the fiscal authority having budgetary responsibility or charged with making appropriations for the school district has incurred for the purpose of replacing or repairing such lost, damaged or stolen textbooks, library materials, other materials or equipment, shall be deemed to be appropriated to the board of education in addition to the funds appropriated by the town to such board for the fiscal year in which such payment is made or insurance proceeds received. Notwithstanding the provisions of chapter 106, or any municipal charter or special act to the contrary, whenever any outside group or individual makes payment for custodial costs for use of school facilities or otherwise for the use of school facilities an amount equal to the amount so paid or received, net of any costs the fiscal authority having budgetary responsibility or charged with making appropriations for the school district has incurred for the purpose of providing custodial services shall be deemed to be appropriated to the board of education in addition to the funds appropriated by the town to such board for the current fiscal year.