Understanding the Influence of School Environment on Students’ Academic Perfomance