Changed for each loops
Merge branch 'master' of https://github.com/Karatekiwi/sbcm