modified for exec remote commands
use goto at remote exec