Cache Matrix Script