Grid setting script and grid positioning

WAR exported on 11.8.