Created originally on Bitbucket by andreasb242
https://www.magiclantern.fm/forum/index.php?topic=22601.0