Move the grid variables to Config