add cache clear in prime script