add script interface