Added search & post-processing intervals as user input variable.