Set @grant for GM2.0+