There are better ways to run scripts under different user accounts than any of the RunAs approaches. Also, tokenization should not be relied upon to protect passwords. Without knowing your specific needs it's hard to make recommendations but both e.g. the RemoteExec() or the Task Scheduler might fit your bill.
_________________________
There are two types of vessels, submarines and targets.