add battery script