Function: add script.