external factors affecting schools