Change biome checking code