Accept battery flag and allow any ordering of flags and params