Update makegrid.py