Made scan loop
Merge pull request #19 from JeroenMathon/Development

Made scan loop