fix remote run script and change sample