All credit goes to Marco Schweighauser (https://github.com/Schweigi - | his homepage)
See github with the code
and thanks for the MIT copyright so we can use it
br
Jens