Adding ability to run continuously with interval