added an option to force grid rewrites