Adding battery script