Changing bg generator to map generator.