You can add the content you want in the Custom script.
And regarding the restriction for update if you make your custom script then the script will not be updated to the latest version unless you modify your package. You can test the upgrade and then modify your package for Upgrade.