added grid postprocessing script