Merge pull request #13 from mvala/master

Added # END  to end looping