Frankly you are wasting my time if you request one thing, when what you want is something entirely different. The code I posted will not do what you require.
If you want to discuss rates for programming a revised version then you can contact me via my web site, with an explanation of how the different document is involved and selected.