added redo target commandline option, but did't fix the race condition.