A blind edit for adding infiniteCont option

untested, blind edit