Save data when inside a Loop. Fixes #3.
Merge pull request #4 from jchristopher/patch-1

Save data when inside a Loop. Fixes #3.