Update and rename temp.sh to remote_script.sh