removed set -e inside the remote commands.