Scripts and web interface for remotely controlling computers