add script support