internal and external factors affecting schools