Added --sleep-interval option