refactoring quickrun setting