Improved the edits done by the package to fix/minimise the clash with other mods during install/uninstall operations.