Well-that is strange-it all looks fine to me.
I use the custom modular stairs and have modified my script too but mine works!
The only thing I can think...are you putting the modified script in the right folder? It should be in
C:\Program Files\EA GAMES\The Sims 2\TSData\Res\Catalog\Scripts not in any expansion pack folders.