changed scripts so that usespherical is read in from grid file instead of input