Changes toward getting the grid script working.