Added ivy cache rewrite script.