Put it into a plugin and got it working on 4.26. Preparing a marketplace version. The github version remaining of course!