fix bug in grid submit script
Merge pull request #18 from bdjackson/master

fix bug in grid submit script