Schools vow better maintenance at Thomas