FIX: Replace deprecated control directive with loop
Merge pull request #4 from gordonbanderson/ISSUE3

FIX: Replace deprecated control directive with loop