v3.1.3

Added 'loop' functionality