Moved print statement in grid run