Added repeat option
Merge pull request #92 from astrofrog/repeat-option

Added repeat option