Adding a flag to set the time between checks.