added state file, improved min max in school files