Unless a upgrade changes those files you manipulate so your script doesn't work any longer. We already had similar things with the script that edits proxmox files to remove the "nag" popup.Which is why I've put it into a script to run after any upgrades, so any upgrade that reverts the hard-coded port will be corrected after it is overwritten.