Refactored make_schools.pl