battery script coloration