opt script cache