Added battery script.