Add support for script.