Districts scramble to fund safety improvements and education