change singleRun to true