You do need to have some type of cutout to prevent the battery from back pedaling the generator.

If that is not closing, then the generator will never charge the battery.