Added one shot versus free running modes.