Code updated to change interval.
Updated code for issue #10.
Merge pull request #11 from frishkorn/iss8

Issues #8 has been completed.