add script cache manage