finalized scripts for school dataset