support future versions of spider script.