example of running a code with remote startup