Only if the requirements stay the same for 2.5 years. Otherwise there’s probably another week of time trying to update the initial work, then just throwing it away and making a new solution that’s theoretically easier to update.
If changing requirements mean you need to update the script, then updating the script is part of your job. QED. I don’t see the problem with a little job security.