Move cache cleaning script out of shared folder to avoid potential permissions issues