this package is for personal use. There are probably cases it doesn't handle.

Feel free to create a PR or raise an issue if you run into one