commit [05997dd](https://github.com/Patronics/PicaxePreprocess/pull/4/commits/05997dd67be406144bb8608d560fdc88183fade2) provides a good base pattern of modifications to mimic for the additional features.