Handle remote scripts with non-default names