I may be missing something here but...
Is there someway you can put "checkras" into the mix? If you are not familiar, this is a util from the NT Reskit which runs at logon, detects a RAS connection, and then allows you to run a different Kix scr.

If this might help and you want more info, email me : nial_pye@rhss.bc.ca

Nial