adding a clearcache option to gfx binary