Added --check-interval option