added flags to all batteries