Best way to run scripts remotely?

I wrote some code to control a Mote kit from my phone which may be of some use to you: