Better handling of problems invoking remote scripts.