Fixed Battery Script