Changed a lot of ints to bools.