Great, I'm glad you had success.
One thing, though you probably realized anyway, is that many people su to root with 'su -'
but for that script to work you want to keep the users env, not inherit root's env, so you
are correct to use 'su'.
Store some notes somewhere of your modifications, in case one day you have to reinstall, as its a real pain when you can't remember all the little changes you made...